<include file="Public:header" />
<div class="main">
    <div class="position"><p>您的当前位置：<a href="/">首页</a>  >  团购 > {$info.title}</p></div>
    <div class="m_t_15 overflow_h">
        <div class="body_left">
            <div class="left">
                <div class="groupCover overflow_h">
                    <div class="gcLeft">
                        <div class="groupMap"><a target="_blank" href="{:U('Map/index',array('hid'=>$house['id'],'type'=>'house'))}"><ins class="icon-7"></ins>地图</a></div>
                        <h1>{$info.title}</h1>
                        <h2>{$info.desc}</h2>
                        <div id="groupImg" class="groupImg">
                            <div class="btn_tab">
                                <ul>
                                    <li class="on">1</li>
                                    <volist name='img_list' id='vo'>
                                      <li>{$key+2}</li>
                                    </volist>
                                </ul>
                            </div>
                            <div class="box_tab">
                                <div class="tempWrap">
                                    <ul >
                                        <li><img src="{$info.list_img}" width="460" height="280" /></li>
                                        <volist name='img_list' id='vo'>
                                            <li><img src="{$vo.img}" width="460" height="280" /></li>
                                        </volist>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="groupAdd">
                            <dl>
                                <dt><a target="_blank" title="{$vo.title}" href="{:U('House/detail',array('id'=>$house['id']))}"><b>{$house.title}</b><ins class="icon-28"></ins></a></dt>
                                <dd><ins class="icon-24"></ins><span style="color: #cccccc">[{$address[0]}]</span> {$address[1]}</dd>
                                <dd><ins class="icon-37"></ins>
                                    <volist name="house_tags" id='vo'>
                                        <em>{$menu[6][$vo]}</em>
                                    </volist>
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div class="gcRight">
                        <div class="gcDiscount">
                            <em>{$info.original_price}</em>
                            <em>{$info.present_price}</em>
                        </div>
                        <div class="gcDesc">
                            <volist name='tags' id='vo'>
                                <em><ins class="icon-17"></ins>{$vo}</em>
                            </volist>
                            <span>已有<b>{$info.number}</b>人报名团购</span>
                        </div>
                        <div class="gcTiming">
                            <em>团购报名时间</em>
                            <span>{$info.start_time|date='Y-m-d',###} 至 {$info.end_time|date='Y-m-d',###}</span>
                            <p>
                                <php>if($info['end_time'] > time()){</php>
                                <a href="javascript:;" request-url="{:U('Ajax/buying',array('id'=>$info['house_id']))}" class="but37 pop_up">立即报名</a>
                                <php>}else{</php>
                                <a href="javascript:;"  style="background: #666666" class="but37">团购已过期</a>
                                <php>}</php>
                            </p>
                        </div>
                        <div class="tgshare">
                            <h2>分享到：</h2>
                            <div id="bdshare" class="bdshare_t">
                                <include file="Public:baidu" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="groupDeta">
                    <div class="body_title"><ul><li><a href="#" class="selected">项目详情</a></li></ul><span class="body_title_r org02"><a target="_blank" href="{:U('One/index',array('alias'=>'tgsm'))}">团购申明</a></span></div>
                    <div class="SjD_LeftSm_content" style="border-bottom:0">
                      {$info.info}
                    </div>
                </div>
            </div>

        </div>
        <div class="body_right">
            <include file="Buying:right" />
        </div>
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script src="__JS__/slides.js"></script>
<script type="text/javascript">
    jQuery("#groupImg").slide({ autoPlay: true, trigger: "click", mainCell: ".box_tab ul", effect: "left" });
</script>
<include file="Public:footer" />